package com.qlzb.taskmanagement.persistentData.dao;


import com.qlzb.taskmanagement.persistentData.entity.OperationSwitchPower;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface OperationSwitchPowerDao extends CrudRepository<OperationSwitchPower,Integer> {
    public List<OperationSwitchPower> findByAreaId(String areaId);
    public void deleteByAreaId(String areaId);
    public OperationSwitchPower findFirstByStationCode(String stationCode);

    OperationSwitchPower findFirstByStationOperationId(String stationOperationId);
}
